package com.tai.design.mediator;

/**
 * The type Person.
 *
 * @version v1.0
 * @ClassName: Person
 * @Description: 抽象同事类
 * @Author: taylor
 */
public abstract class Person {

    /**
     * The Name.
     */
    protected String name;
    /**
     * The Mediator.
     */
    protected Mediator mediator;

    /**
     * Instantiates a new Person.
     *
     * @param name     the name
     * @param mediator the mediator
     */
    public Person(String name, Mediator mediator) {
        this.name = name;
        this.mediator = mediator;
    }
}
